/* 
 * File:   temperature.h
 * Author: apleilx
 */

#ifndef _PINCFG_H_
#define	_PINCFG_H_

#ifdef	__cplusplus
extern "C" {
#endif

#define LED                                   LATA1
    
#define LCD_CS1       LATAbits.LA0
#define LCD_CS1_DIR   TRISAbits.TRISA0
#define LCD_CS2       LATBbits.LB5
#define LCD_CS2_DIR   TRISBbits.TRISB5
#define LCD_CS3       LATBbits.LB4
#define LCD_CS3_DIR   TRISBbits.TRISB4
#define LCD_E         LATAbits.LA2
#define LCD_E_DIR     TRISAbits.TRISA2
#define LCD_RW        LATBbits.LB1
#define LCD_RW_DIR    TRISBbits.TRISB1
#define LCD_RS        LATAbits.LA3
#define LCD_RS_DIR    TRISAbits.TRISA3
#define LCD_BUSY      PORTDbits.RD7
#define LCD_BUSY_DIR  TRISDbits.TRISD7
#define LCD_RESET     LATAbits.LA1
#define LCD_RESET_DIR TRISAbits.TRISA1
#define LCD_DATA      PORTD
#define LCD_DATA_DIR  TRISD
	
#ifdef	__cplusplus
}
#endif


#endif	/* _PINCFG_H_ */

